/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util.entityhelper;

/**
 *
 * @author NGUYEN CONG DAT
 */
public class MonthHelper {
    private static String[] stringMonth = {"January","February","March","April","May","June",
        "July","August","September","October","November","December"};

    public static String[] getStringMonth() {
        return stringMonth;
    }

    public static void setStringMonth(String[] aStringMonth) {
        stringMonth = aStringMonth;
    }
    private Integer month;
    private Integer year;
    private String text;
    
    public MonthHelper() {       
    }
    
    public MonthHelper(int month, int year) {
        this.month = month;
        this.year = year;
        text = stringMonth[month-1] + " " + year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
